<?php
class MiscsController extends AppController 
{
	var $uses = 'Category';
	var $layout = 'ajax_layout';
	var $helpers = array('Html', 'Javascript', 'Ajax');	
	
	function index()
	{
		mysql_query("SET NAMES 'UTF8'");
		$this->pageTitle = '十六铺——中国高校二手交易联盟';
		$this->set("categorys", $this->Category->findAll());
	}
	function ajax()
	{
		
	}
	function anony()
	{
        sleep(1); 
        $this->layout = 'ajax';
	}
}
?>